<?php

namespace chain\Db;

interface DbInterface{
    static function getInstance($config);
    function insert($table,$data);
    function update($table,$data = array(),$where = array());
    function delete($table,$where = array());
    function query($sql,$replaceData = null);
    function  queryString($sql);
    function check();
    function cleanValue($v = array());
    function getWhereStatement($where);
    function select($table,$field = array(),$where = array());
}


?>